<include file="Public/head" />
<link rel="stylesheet" href="__PUBLIC__/Home/css/school_detail.css">

<script src="__PUBLIC__/Home/js/school_detail.js"></script>


    <div class="container">
        <a href="javascript:;" class="btn-info-error">信息纠错</a>
        <ol class="breadcrumb">
          <li><a href="#">首页</a></li>
          <li><a href="#">全国院校库</a></li>
          <li><a href="#">北京</a></li>
          <li><a href="#">本科院校</a></li>
          <li class="active">清华大学</li>
        </ol>
    </div>
    <div class="container clearfix">
        
        <div class="siderbar">
            <div class="news">
                <h3>最近更新</h3>
                <ul>
                    <foreach name="list" item="vo" key="k">  
                    <eq name="vo.category_id" value="2">
                    <li><i><php>echo $k+1;</php></i><a href="{:U('Article/detail/',array('id'=>$vo[id]))}">{$vo.title|mb_substr=0,12, 'utf-8'}</a><span>{$vo.create_time|date="m/d",###}</span></li>
                    </eq> 
                    </foreach>
                </ul>
            </div>
            <div class="rel-hot">
                <h3>相关热点</h3>
                <div class="title">
                    <a href="{:U('Article/detail/',array('id'=>$current[id]))}"><img src="__PUBLIC__/{$img_school.img_url}" alt="">
                    <p>{$current.title|mb_substr=0,15, 'utf-8'}</p></a>
                </div>
                <p class="content">{$current.content|mb_substr=0,75, 'utf-8'}<a href="{:U('Article/detail/',array('id'=>$current[id]))}">[详细]</a> </p>
                <div class="prev-con">
                    <a href="{:U('Article/detail/',array('id'=>$timey[id]))}"><p>{$timey.title|mb_substr=0,12, 'utf-8'}...</p></a>
                    <p class="content">{$timey.content|mb_substr=0,68, 'utf-8'}</p>
                </div>
            </div>
            <div class="QA">
                <h3>互动问答<a href="#">更多</a></h3>
                <a href="" class="btn-add-question">我要提问</a>
                <p>—— 答案由学校提供，仅供参考   ——</p>
                <ul class="QA-list">
                   <volist name="ask_list" id="vo" >
                    <li>
                        <p class="Qusetion"><i>Q:</i>{$vo.title|mb_substr=0,15, 'utf-8'}<span>{$vo.user_name}|{$vo.timeadd|date="Y-m-d H:i:s",###}</span></p>
                        <p class="Answer"><i>A:</i>{$vo.reply|mb_substr=0,45, 'utf-8'}<span>{$vo.teacher_name}|{$vo.timereply|date="Y-m-d H:i:s",###}</span></p>
                    </li> 
                </volist>
                </ul>
            </div>
        </div>
        <div class="main">
            <div class="article-detail" >
                <h2>{$info.title}</h2>
                <p class="sub-titile">
                    <span>发布时间：{$info.create_time|date="Y-m-d",###}</span>
                    <span>字体大小：[ <a href="javascript:;" id="small">小</a> <a href="javascript:;" id="middle"> 中</a> <a href="javascript:;"id="large">大</a>  ]</span>
                </p>
                <div style="letter-spacing:3px;text-indent:2em;">{$info.content}</div>
               
            </div>
        </div>
    </div>
	<div id="modal">
		<div class="modal-overlay"></div>
		 <div class="modal-box" id="modal-question">
		    <!--<form action="__URL__/ask" method="post" >-->
		        <input type="hidden" id="ask_url" value="__MODULE__/School/ask"/>
		        <input type="hidden" id="ask_grade" value=""/>
		        <a href="javascript:void(0);" class="btn-closed">x</a>

		        <h4>我的问题
		            <select name="grade" id="grade-ask">
		                <option value="1">高招问题</option>
		                <option value="2">研究生招生问题</option>
		                <option value="3">艺考生招生问题</option>
		            </select><span>0/50字</span></h4>
		        <textarea name="content" id="ask_content"></textarea>
		        <div style="margin-top: 10px;">
		            <label for="ask_yzm">验证码</label><input type="text" class="captcha" id='ask_yzm'>
		            <img  id="reloadverify" src="{:U('School/verify')}"> 
		            <a href="javascript:reloadcode()">换一张</a>
		            <input type="submit" value="发表问题" class="btn-yes ask-submit" style="vertical-align: baseline">
		        </div>

		    <!--</form>-->
		</div>
	</div>

<script type="text/javascript">
function reloadcode(){
document.getElementById('reloadverify').src =document.getElementById('reloadverify').src+'?'+Math.random();

}
</script>
     <include file="Public/foot" />